<#assign  title="我的积分" />
<#include 'member_header.html' />
<!-- 获取会员积分标签 -->
<#assign memberPointTag = newTag("memberPointTag")>
<!-- 调用会员积分标签 -->
<#assign memberPoint = memberPointTag()>

<!-- 获取会员等级标签 -->
<#assign memberLvListTag = newTag("memberLvListTag")>
<!-- 调用会员等级标签 -->
<#assign memberLvList = memberLvListTag()>

<!-- 获取关键字“member”会员MAP集合 -->
<#assign mp = memberPoint.member>
<!-- 获取关键字“memberLv”会员当前级别MAP集合 -->
<#assign mplv = memberPoint.memberLv>
<!-- 获取关键字“nextLv”会员下一等级MAP集合 -->
<#assign mpnlv = memberPoint.nextLv>
<div class="data">
	<h2>我的积分</h2>
</div>	
<!--温馨提示-->
<div class="tip">
	<div class="top"></div>
	<div class="body">
		<@image src="${ctx}/themes/default/images/gth.jpg" />
		<div>
			<h3>积分规则:</h3>
				<ol>
					<li>当积分已达到某一兑换积分标准时，顾客可将累计积分依照网站相应积分及兑换标准兑换回馈商品，网站将即时从用户会员积分中扣减相应积分。</li>
					<li>各项回馈项目（包含各项商品、服务或抵用券等）及兑换标准及兑换规则均以兑换当时最新回馈活动公告或目录为准。</li>
					<li>部分兑换商品有数量限制的，兑完为止。</li>
					<li>公告或目录如有有效期限的，逾期即不得兑换。</li>
					<li>积分兑换区的商品为只可用积分兑换的商品(如积分价格：100积分)</li>
				</ol>
		</div>
	</div>
	<div class="bottom"></div>
</div>
<!--温馨提示结束-->
<div class="tab">
	<ul>
		<li class="selected">
			<a href="point.html"><span>我的积分</span></a>
		</li>
		<li>
			<a href="point_list.html?action=list"><span>积分明细</span></a>
		</li>
		<li>
			<a href="point_freeze.html?action=freeze"><span>冻结明细</span></a>
		</li>
	</ul>
</div>
<div class="point_wrap white_box">
	<div class="box">
		<div class="top"></div>
		<div class="body">
			<div class="pointsSumm">
				<h4>消费积分</h4>
				<div class="overview">
					<p class="layerCol">可用积分：<strong>${mp.mp}</strong>冻结积分：<strong>${memberPoint.freezepoint}</strong></p>
				</div>
				<h4>等级积分</h4>
				<div class="overview">
					<p class="layerCol">可用积分：<strong>${mp.point}</strong>冻结积分：<strong>${memberPoint.freezemp}</strong></p>
				</div>					
				<h4>目前等级</h4>
				<div class="currLevel">
					<p>等级：<strong>${mplv.name}</strong>等级积分：<strong>${mplv.point!'0'}</strong></p>
					<#if mpnlv?exists>
			       	<p class="prompt">您再获得<em>${mpnlv.point - mplv.point}</em>积分，就可升级为<em>${mpnlv.name}</em>，享受更优惠的折扣！</p>
			       	</#if> 
				</div> 
				<h4>各等级所需积分</h4>
				<ul class="needs">
					<#list memberLvList as ml>
				         <li>等级：<strong>${ml.name}</strong>所需积分：<em>${ml.point}</em>可参与网站指定会员活动，并可享受最低<b>${ml.discount}%</b>优惠</li>		     
					</#list>                          
				</ul>
			</div>
		</div>
		<div class="bottom"></div>
	</div>
</div>
</div>
<div class="rr_bottom"></div>
</div>
</div>	
</div>
		<#include '../common/footer.html'/>